package com.itheima.chapter02.domain;

import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;
@ToString
@Component
public class Student {
    @Value("#{5*2}")
    private int id;
    @Value("${person.name}")
    private String name;
    private List hobby;
    private String[] family;
    private Map map;
    private Pet pet;
    @Value("${xman.theme}")
    private String theme;
}
